<fieldset class="solid">
	<legend>#((readers == null||readers.id == null)?'创建会员':'修改会员')</legend>
	<input type="hidden" name="readers.id" value="#(readers.id??)" />
	<!--<div>
		<label>会员号:</label>
		<input type="text" name="readers.readerno" value="#(readers.readerno??)" />#(readerNoMsg)
	</div>-->
	<div>
		<label>会员姓名:</label>
		<input type="text" name="readers.readername" value="#(readers.readername??)" />#(readerNameMsg)
	</div>
	<div>
		<label>性别:</label>
		<!--<input type="text" name="readers.sex" value="#(readers.sex??)" />#(sexMsg)-->
		<select name="readers.sex" >
			#if(readers == null)
                <option value="">请选择性别</option>
                <option value="1">男</option>
                <option value="0">女</option>
			#else
			    #if(readers.id == null)
					#if(readers.sex ==1)
						<option value="">请选择性别</option>
						<option value="1" selected="selected">男</option>
						<option value="0">女</option>
					#else if(readers.sex ==0)
						<option value="">请选择性别</option>
						<option value="1">男</option>
						<option value="0" selected="selected">女</option>
					#else
						<option value="">请选择性别</option>
						<option value="1">男</option>
						<option value="0">女</option>
					#end
			   #else
					#if(readers.sex ==1)
						<option value="">请选择性别</option>
						<option value="1" selected="selected">男</option>
						<option value="0">女</option>
					#else if(readers.sex ==0)
						<option value="">请选择性别</option>
						<option value="1">男</option>
						<option value="0" selected="selected">女</option>
					#else
						<option value="">请选择性别</option>
						<option value="1">男</option>
						<option value="0">女</option>
					#end
			   #end
		    #end
		</select>#(sexMsg)
	</div>
	<div>
		<label>电话:</label>
		<input type="text" name="readers.tel" value="#(readers.tel??)" />#(telMsg)
	</div>
	<div>
		<label>&nbsp;</label>
		<input value="#((readers == null||readers.id == null)?'创建':'修改')" type="submit">
	</div>
</fieldset>